<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/28
 * Time: 13:29
 */
namespace app\api\validate;

class AddressCheck extends BaseValidate {

    protected $rule = [
        'name'=>'require|isNotEmpty',
        'mobile'=>'require',
        'province'=>'require|isNotEmpty',
        'city'=>'require|isNotEmpty',
        'country'=>'require|isNotEmpty',
        'detail'=>'require|isNotEmpty'
    ];

    protected $message = [
        'name'=>'收货人姓名不能为空',
        'moblie'=>'请填写正确的手机号',
        'province'=>'省份信息不能为空',
        'city'=>'城市信息不能为空',
        'country'=>'区域信息不能为空',
        'detail'=>'详情地址不能为空'
    ];


}